<entry>
  <id><?php echo $siteUrl; ?>/article/<?php echo $article->id; ?></id>
  <title type="html"><?php echo htmlspecialchars($article->title); ?></title>
  <published><?php echo date($dateFormatAtom, $article->posted); ?></published>
  <updated><?php echo date($dateFormatAtom, $article->modified); ?></updated>
  <content type="html">
    <?php echo htmlspecialchars($article->getContent()); ?>
  </content>
  <link rel="alternate" href="<?php echo $siteUrl; ?>/article/<?php echo $article->id; ?>" />
  <?php foreach($article->tags as $tag): ?>
    <category term="<?php echo htmlspecialchars($tag); ?>" scheme="<?php echo $siteUrl; ?>/tag/<?php echo urlencode($tag); ?>" label="<?php echo htmlspecialchars($tag); ?>" />
  <?php endforeach; ?>
</entry>
